// const piex='/dist'
const piex=''
export default [
    {
        path: piex+'/',
        name: 'HomePage',
        component: (resolve) => require(['../views/HomePage.vue'], resolve)
    },
    {
        path: piex+'/list/:id',
        name: 'List',
        component: (resolve) => require(['../views/ListPage.vue'], resolve)
    },
    {
        path: piex+'/login',
        name: 'Login',
        component: (resolve) => require(['../views/Login.vue'], resolve)
    },
    {
        path: piex+'/register',
        name: 'Register',
        component: (resolve) => require(['../views/Register.vue'], resolve)
    },
    {
        path: piex+'/findPass',
        name: 'FindPass',
        component: (resolve) => require(['../views/FindPass.vue'], resolve)
    },
    {
        path: piex+'/userCenter',
        name: 'UserCenter',
        component: (resolve) => require(['../views/UserCenter.vue'], resolve)
    },
    {
        path: piex+'/*',
        name: 'NotFound',
        component: (resolve) => require(['../views/NotFound.vue'], resolve)
    }
]
